const {
    IncAndExpType
} = require('../../../model/incAndExp/type');

module.exports = async (req, res) => {
    let id = req.query.id
    IncAndExpType.findOneAndDelete({
        _id: id
    }).then(result => {
        res.send({ 'code': 0, "msg": "删除成功" });
    })
}